<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE  html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Indian Wildlife Gateway</title>
		
		<!-- CSS -->
		<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
		<link rel="stylesheet" href="css/social-icons.css" type="text/css" media="screen" />
		<!-- ENDS CSS -->	
		
		<!--[if IE]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->
		<!-- ENDS JS -->
		
		<!-- JS -->
		<script type="text/javascript" src="hello.js"></script>
		<script type="text/javascript" src="js/jquery.min.js"></script>
		<script type="text/javascript" src="js/custom.js"></script>
		<script type="text/javascript" src="js/slider.js"></script>
		<script src="js/slides/source/slides.min.jquery.js"></script>
		<script src="js/quicksand.js"></script>
		
		<!-- superfish -->
		<link rel="stylesheet" media="screen" href="css/superfish.css" /> 
		<script type="text/javascript" src="js/superfish-1.4.8/js/hoverIntent.js"></script>
		<script type="text/javascript" src="js/superfish-1.4.8/js/superfish.js"></script>
		<script type="text/javascript" src="js/superfish-1.4.8/js/supersubs.js"></script>
		<!-- ENDS superfish -->

		<!-- poshytip -->
		<link rel="stylesheet" href="js/poshytip-1.0/src/tip-twitter/tip-twitter.css" type="text/css" />
		<link rel="stylesheet" href="js/poshytip-1.0/src/tip-yellowsimple/tip-yellowsimple.css" type="text/css" />
		<script type="text/javascript" src="js/poshytip-1.0/src/jquery.poshytip.min.js"></script>
		<!-- ENDS poshytip -->
		
		<!-- Tweet -->
		<link rel="stylesheet" href="css/jquery.tweet.css" media="all"  type="text/css"/> 
		<script src="js/tweet/jquery.tweet.js" type="text/javascript"></script> 
		<!-- ENDS Tweet -->
		
		<!-- prettyPhoto -->
		<script type="text/javascript" src="js/prettyPhoto/js/jquery.prettyPhoto.js"></script>
		<link rel="stylesheet" href="js/prettyPhoto/css/prettyPhoto.css" type="text/css" media="screen" />
		<!-- ENDS prettyPhoto -->
		
		<!-- GOOGLE FONTS -->
		<link href='http://fonts.googleapis.com/css?family=Droid+Serif:400italic' rel='stylesheet' type='text/css'>
		

	</head>
	<body>

	
		<!-- Dynamic Background -->
		<div id="headerimgs">
			<div id="headerimg1" class="headerimg"></div>
			<div id="headerimg2" class="headerimg"></div>
		</div>
		<!-- ENDS Dynamic Background -->
		
		<!-- background nav -->
		<div id="headernav">
			<div id="back" class="btn"></div>
			<div id="next" class="btn"></div>
		</div>
		<!-- ENDS background nav -->
		
		<div id="top-gap"></div>

		<!-- wrapper -->
		<div class="wrapper">
		
			<a href="index.html"><img  id="logo" src="img/logo3.png" alt="IWG"></a>
			
			
			<!-- nav bar holder -->
			<div id="nav-bar-holder">
				<!-- Navigation -->
				<ul id="nav" class="sf-menu">
					<li class="current-menu-item"><a href="newwelcome.jsp">Home</a></li>
					<li><a href="javascript:void(0);"id="login">Legal</a></li>
					
					<li><a href="page.html">Join Us</a>
						<ul>
							<li><a href="#">Internships</a></li>
							<li><a href="#">Partnerships</a></li>
						</ul>
					</li>
					<li><a href="#">Activity</a>
						<ul>
							<li><a href="newpoll.jsp">Polls</a></li>
							<li><a href="#">Events</a></li>

						</ul>
					</li>
					<li><a href="#">Newsroom</a>
					<ul>
							<li><a href="#">Announcements</a></li>
							<%@ page import="java.sql.*,wildlife.*" %>
							<%
							Connect c=new Connect();
							String username=session.getAttribute("username").toString();
							ResultSet rs=c.getResult("select * from users where username='"+username+"'");
							rs.next();
							if(rs.getString("background").equals("NGO"))
							{
							%>
							<li><a href="postjobnotification.jsp">Post Jobs</a></li>
							<li><a href="viewresumes.jsp">View Resumes</a></li>
							<%}
							else{
							
							%>
							<li><a href="viewjobnotification.jsp">View Job Notifications</a></li>
							<%} %>
						</ul>
					</li>
					<li><a href="contact.html">Contact</a></li>
				</ul>
				<!-- ENDS Navigation -->
				
				<!-- Social -->
				<ul class="social">
					<li><a href="http://www.facebook.com" class="poshytip  facebook" title="Become a fan"></a></li>
					<li><a href="http://www.twitter.com" class="poshytip  twitter" title="Follow my tweets"></a></li>
					<li><a href="Logout.action" class="poshytip  dribbble" title="LOGOUT"></a></li>
				</ul>
				<!-- ENDS Social -->
			</div>
			<!-- ENDS nav bar holder -->
				
			<!-- content wrap -->	    	
	        <div id="content-wrap">
	        	my name is siva krishna
	        	<!-- Page wrap -->
	        	<div id="page-wrap">
	        	
					<div class="page-title"><h1>WELCOME <%=session.getAttribute("username").toString() %></h1> <br>
					<a href="Logout.action"><input type="button" value="LOG OUT!" align="center"/></a>
<a href="makepost.jsp"><input type="button" value="Make Post"/></a>
<a href="showposts.action"><input type="button" value="Show My Posts"/></a>
<a href="forum.action?flag=0"><input type="button" value="Show My Forum Posts"/></a>
<a href="allforum.action"><input type="button" value="Show All Forum Posts"/></a>
					</div>
					<!-- side content -->
					<div id="gallery-holder">
					
						<!-- filter -->
						<ul id="portfolio-filter" class="gallery-filter">
				    		<li>Filter: </li>
				    		<li><a href="#" rel="all" > All </a></li>
				    		<li><a href="#" rel="graphics" > Graphics </a></li>
				    		<li><a href="#" rel="video">  Video </a></li>
				    		
				    		
				    		<li class="layout-notext"></li>
				    		<li class="layout-text active"></li>
				    		<li class="layout-label">Layout: </li>
				    	</ul>
				    	<div class="clear"></div>
						<!-- filter -->
						
						<!-- Thumbnails -->
						<ul id="portfolio-list" class="gallery-thumbs" >
							<li class="graphics">
								<a href="img/dummies/ww1.png" title="Reptile Census" rel="prettyPhoto[group]"  class="plusbg"><img  src="img/dummies/ww1.png" title="Reptile Census" alt="Reptile Population Monitoring" ></a>
								<div class="thumb-description">
									<span class="thumb-title">Reptile Census</span>
									<p>Reptile experts cite rodent eradication as reason towards population reduction of Russels Viper. </p>
								</div>
							</li>
							
							<li class="graphics">
								<a href="img/dummies/ww2.png" title="Kid's Corner" rel="prettyPhoto[group]" class="plusbg" ><img  src="img/dummies/ww2.png" title="Garden Pet's" alt="New friends in garden!" ></a>
								<div class="thumb-description">
									<span class="thumb-title">Kid's Corner'</span>
									<p>Garden Pets: Dr.Sivakrishna Gontla talks about garden pet options.</p>
								</div>
							</li>
							
							<li class="video">
								<a href="http://www.youtube.com/watch?v=nhSipS4d5og" title="Project Tiger" rel="prettyPhoto[group]"  class="plusbg" ><img  src="img/dummies/video.jpg" title="Tiger Awareness" alt="Protecting the wild!" ></a>
								<div class="thumb-description">
									<span class="thumb-title">Tiger Awareness Week</span>
									<p>Please share the video and spread the awareness. Tiger population ahs reduced to alarming levels. Conservation groups have assembled to do the needful.</p>
								</div>
							</li>
							
							<li class="logos">
								<a href="img/dummies/ww6.png" title="Bird Watch Journal"  rel="prettyPhoto[group]" class="plusbg" ><img  src="img/dummies/ww6.png" title="Orinithologist's Meet" alt="Annual Orinithologist Meet!" ></a>
								<div class="thumb-description">
									<span class="thumb-title">Annual Ornithologists Meet</span>
									<p>Global orinithologists meet to be held in Bangalore. registrations to open soon.</p>
								</div>
							</li>
							
							<li class="graphics">
								<a href="img/dummies/ww4.png" title="Migration Patterns" rel="prettyPhoto[group]"  class="plusbg" ><img  src="img/dummies/ww4.png" title="Studying Migration Patterns" alt="Remembering Dr.Salim Ali" ></a>
								<div class="thumb-description">
									<span class="thumb-title">Studying Migration Patterns</span>
									<p>Researchers and Conservationists join to study the migration patterns of Indian birds. More to come on this.</p>
								</div>
							</li>
							
							<li class="video">
								<a href="http://www.youtube.com/watch?v=ROZJmX73FF4" title="Global Warming" rel="prettyPhoto[group]"   class="plusbg" ><img  src="img/dummies/video.jpg" title="Global Warming" alt="Global Warming and Wildlife" ></a>
								<div class="thumb-description">
									<span class="thumb-title">Global Warming and WIldlife</span>
									<p>Award winning documentary on the global warming affects on nature and wildlife. Live screening dates will be updated soon.</p>
								</div>
							</li>
							
							
						</ul>
						<div class="clear"></div>	
			            <!-- ENDS Thumbnails -->
						
					</div>
					<!-- ENDS side content -->
					
					
					<div class="clear"></div>
	        	
	        	</div>
	        	<!-- ENDS Page wrap -->
	        	
	        </div>
	        <!-- ENDS content wrap -->
	        
        </div>
		<!-- ENDS Wrapper -->
		
		<!-- FOOTER -->
		
			
		<!-- ENDS FOOTER -->
		
		<!-- footer-bottom -->
		<div id="footer-bottom">
			<div class="bottom-wrapper">
				<div id="bottom-left">
					&copy; 2012 IIIT Bangalore.  <a href="#"></a>
				</div>
				<div id="bottom-right">
					<ul id="footer-nav">
						<li><a href="#">Home</a></li>
						<li><a href="#">Legal</a></li>
						<li><a href="#">Join Us</a>
						<li><a href="#">Contact</a>
					</ul>
				</div>
			</div>
		</div>
		<!-- ENDS footer-bottom -->


		
	</body>
</html>